/*
 * @Author: 马思宁 598138645@qq.com
 * @Date: 2024-04-08 09:54:25
 * @LastEditors: 马思宁 598138645@qq.com
 * @LastEditTime: 2024-05-09 17:45:35
 * @FilePath: \v-koa\src\routes\logout.router.js
 * @Description: 退出登录模块路由
 */
const KoaRouter = require("koa-router");
const { logout } = require("../controller/logout.controller");

const logoutRouter = new KoaRouter({ prefix: "/logout" });

// 登录接口
logoutRouter.post("/", logout);


module.exports = logoutRouter;
